package com.sdwl.brcl.validation.enums;

/**
 * @author xied
 * @date 2021年06月11日 14:20
 */
public enum MoonValidationEnum implements EnumAware {
    VALIDATION_ELEMENT_NOT_NULL("-1", "缺少校验的元素");

    private String code;
    private String name;

    private MoonValidationEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public String getSimpleName() {
        return this.name;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getName() {
        return this.name;
    }
}
